export const getters = {
	userId:state => state.user.userId,
	token:state => state.user.token,
	role:state => state.user.role,
	complete:state => state.user.complete,
	userPosition:state => state.user.position,
	userAddress:state => state.user.position.address,
	routeOptions(state){
		return state.route.options
	},
	routeAttractions(state){
		return state.route.routeAttractions
	},
	routeDistance(state){
		return state.route.distance
	},
	route(state){
		return state.route
	},
	preparedAttractions(state){
		return state.route.preparedAttractions
	},
	requestRoute(state){
		return state.route.requestRoute
	},
	inactiveTravels(state){
		return state.travel.travelTimer.travels
	},
	currentTravel(state){
		return state.travel.currentTravel
	},
	travelTimer(state){
		return state.travel.travelTimer
	},
	websocket(state){
		return state.socket
	},
	heartBeatData(state){
		return state.socket.message.data
	}
}
